package sample.client;

import sample.shared.result.Client;

import com.google.gwt.event.shared.HandlerManager;

public interface CMModel
{
  public abstract void setClientNameText(String clientNameText);

  public abstract void setClientCodeText(String clientCodeText);

  public abstract boolean isGotoEnabled();

  public abstract void setGotoEnabled(boolean gotoEnabled);

  public abstract boolean isUploadEnabled();

  public abstract void setUploadEnabled(boolean uploadEnabled);

  public abstract String getClientNameText();

  public abstract String getClientCodeText();

  public abstract String getFileYear();

  public abstract void setFileYear(String fileYear);

  public abstract Client getClient();

  public abstract void setClient(Client client);

  public abstract String getUploadFileName();

  public abstract void setUploadFileName(String uploadFileName);

  abstract public void onUpload();

  abstract public void onClientNameChanged();

  public abstract HandlerManager getEventBus();

}